package com.ow.dva.module.park.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ow.dva.module.base.entity.base.BaseEntity;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 车道表
 * </p>
 *
 * @author zsj
 * @since 2020-04-08
 * @version V1.0
 */
@TableName("dva_road")
@ApiModel(value="Road对象", description="车道表")
public class Road  implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    @ApiModelProperty(value = "停车场id")
    private String parkId;

    @ApiModelProperty(value = "停车场名称")
    private String parkName;

    @ApiModelProperty(value = "车道名称")
    private String roadName;

    @ApiModelProperty(value = "车道编号")
    private String roadCode;

    @ApiModelProperty(value = "岗亭编号")
    private String sentryBoxCode;

    @ApiModelProperty(value = "进出类型（0-进车，1-出车）")
    private Integer directionType;

    @ApiModelProperty(value = "终端IP")
    private String terminalIp;

    @ApiModelProperty(value = "终端名称")
    private String terminalName;

    @ApiModelProperty(value = "摄像头IP")
    private String cameraIp;

    @ApiModelProperty(value = "摄像头唯一编号")
    private String cameraNumber;

    @ApiModelProperty(value = "摄像头端口号")
    private Integer cameraPort;

    @ApiModelProperty(value = "摄像头登录账号")
    private String cameraAccount;

    @ApiModelProperty(value = "摄像头登录密码")
    private String cameraPassword;

    @ApiModelProperty(value = "是否启用摄像头（0-禁止 1-启用）")
    private Integer cameraOpenStatus;

    @ApiModelProperty(value = "临时车是否允许入场（0-禁止 1-允许 ）")
    private Integer openStatus;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "区域ID")
    private String customOne;

    @ApiModelProperty(value = "区域名称")
    private String customTwo;

    @ApiModelProperty(value = "品牌")
    private String customThree;

    @ApiModelProperty(value = "型号（包含版本号）")
    private String customFour;

    /**
     * 自定义 停车场类型
     */
    @TableField(exist = false)
    private String parkType;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getParkId() {
        return parkId;
    }

    public void setParkId(String parkId) {
        this.parkId = parkId;
    }
    public String getParkName() {
        return parkName;
    }

    public void setParkName(String parkName) {
        this.parkName = parkName;
    }
    public String getRoadName() {
        return roadName;
    }

    public void setRoadName(String roadName) {
        this.roadName = roadName;
    }
    public String getRoadCode() {
        return roadCode;
    }

    public void setRoadCode(String roadCode) {
        this.roadCode = roadCode;
    }
    public String getSentryBoxCode() {
        return sentryBoxCode;
    }

    public void setSentryBoxCode(String sentryBoxCode) {
        this.sentryBoxCode = sentryBoxCode;
    }
    public Integer getDirectionType() {
        return directionType;
    }

    public void setDirectionType(Integer directionType) {
        this.directionType = directionType;
    }
    public String getTerminalIp() {
        return terminalIp;
    }

    public void setTerminalIp(String terminalIp) {
        this.terminalIp = terminalIp;
    }
    public String getTerminalName() {
        return terminalName;
    }

    public void setTerminalName(String terminalName) {
        this.terminalName = terminalName;
    }
    public String getCameraIp() {
        return cameraIp;
    }

    public void setCameraIp(String cameraIp) {
        this.cameraIp = cameraIp;
    }
    public String getCameraNumber() {
        return cameraNumber;
    }

    public void setCameraNumber(String cameraNumber) {
        this.cameraNumber = cameraNumber;
    }
    public Integer getCameraPort() {
        return cameraPort;
    }

    public void setCameraPort(Integer cameraPort) {
        this.cameraPort = cameraPort;
    }
    public String getCameraAccount() {
        return cameraAccount;
    }

    public void setCameraAccount(String cameraAccount) {
        this.cameraAccount = cameraAccount;
    }
    public String getCameraPassword() {
        return cameraPassword;
    }

    public void setCameraPassword(String cameraPassword) {
        this.cameraPassword = cameraPassword;
    }
    public Integer getCameraOpenStatus() {
        return cameraOpenStatus;
    }

    public void setCameraOpenStatus(Integer cameraOpenStatus) {
        this.cameraOpenStatus = cameraOpenStatus;
    }
    public Integer getOpenStatus() {
        return openStatus;
    }

    public void setOpenStatus(Integer openStatus) {
        this.openStatus = openStatus;
    }
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    public String getCustomOne() {
        return customOne;
    }

    public void setCustomOne(String customOne) {
        this.customOne = customOne;
    }
    public String getCustomTwo() {
        return customTwo;
    }

    public void setCustomTwo(String customTwo) {
        this.customTwo = customTwo;
    }
    public String getCustomThree() {
        return customThree;
    }

    public void setCustomThree(String customThree) {
        this.customThree = customThree;
    }
    public String getCustomFour() {
        return customFour;
    }

    public void setCustomFour(String customFour) {
        this.customFour = customFour;
    }

    public String getParkType() {
        return parkType;
    }

    public void setParkType(String parkType) {
        this.parkType = parkType;
    }

    @Override
    public String toString() {
        return "Road{" +
            "id=" + id +
            ", parkId=" + parkId +
            ", parkName=" + parkName +
            ", roadName=" + roadName +
            ", roadCode=" + roadCode +
            ", sentryBoxCode=" + sentryBoxCode +
            ", directionType=" + directionType +
            ", terminalIp=" + terminalIp +
            ", terminalName=" + terminalName +
            ", cameraIp=" + cameraIp +
            ", cameraNumber=" + cameraNumber +
            ", cameraPort=" + cameraPort +
            ", cameraAccount=" + cameraAccount +
            ", cameraPassword=" + cameraPassword +
            ", cameraOpenStatus=" + cameraOpenStatus +
            ", openStatus=" + openStatus +
            ", createTime=" + createTime +
            ", customOne=" + customOne +
            ", customTwo=" + customTwo +
            ", customThree=" + customThree +
            ", customFour=" + customFour +
        "}";
    }
}
